//
//  AXFSurePayView.m
//  AIXF
//
//  Created by Macx on 2017/7/13.
//  Copyright © 2017年 Macx. All rights reserved.
//

#import "AXFSurePayView.h"

#import "AXFAccountManager.h"
@interface AXFSurePayView ()
@property (weak, nonatomic) IBOutlet UILabel *totalPrice;

@end
@implementation AXFSurePayView
- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        self = [[NSBundle mainBundle] loadNibNamed:@"AXFSurePayView" owner:nil options:nil].firstObject;
        CGFloat totalPrice = [_AXFAccountManager.allPrice floatValue] + 5.00;
        
        _totalPrice.text = [NSString stringWithFormat:@"$%.2f",totalPrice];
        
    }
    return self;
}


@end
